
#include "game_model\headers\game_model_location.hpp"

namespace GameModel {


Location::Location( std::shared_ptr< IDistanceUnit > _horizontalLocation, std::shared_ptr< IDistanceUnit > _verticalLocation )
	:	m_horizontalLocation( _horizontalLocation )
	,	m_verticalLocation( _verticalLocation )
{
}


Location::~Location()
{
}


IDistanceUnit const&
Location::getHorizontalLocation() const
{
	return *m_horizontalLocation;
}


IDistanceUnit const&
Location::getVerticalLocation() const
{
	return *m_verticalLocation;
}


} // namespace GameModel